<template>
    <div class="input-wapper">
        <span v-if="label">{{label}}</span>
        <input v-model="value1" />
    </div>
</template>

<script>
export default {
  props: ['label', 'value'],
  data () {
    return {
      value1: ''
    }
  },
  watch: {
    value1 (val) {
      this.$emit('input', val)
    }
  }
}
</script>

<style scoped lang="scss">
.input-wapper{
    height: 75px;
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 27px;
    background-color: #f9efe8;
    padding: 0px 18px;
    span{
        display: inline-block;
        color:#727171;
        white-space:nowrap;
    }
    input{
        font-size: 27px;
        color: #333333;
        -webkit-appearance: none;
        background-color: transparent;
        border: 0px;
    }
}
</style>
